package user

import (
	"crmeb-common/global"
	"time"
)

// UserLevel 用户等级记录表
type UserLevel struct {
	global.BaseModel
	Uid int32 `json:"uid" gorm:"column=uid;comment:用户uid"`

	LevelId int32 `json:"levelId" gorm:"column=level_id;comment:等级vip"`

	Grade int32 `json:"grade" gorm:"column=grade;comment:会员等级"`

	Discount int32 `json:"discount" gorm:"column=discount;comment:享受折扣"`

	Mark string `json:"mark" gorm:"column=mark;comment:备注"`

	ExpiredTime time.Time `json:"expiredTime" gorm:"column=expired_time;comment:过期时间"`
}
